package com.ge.test;


public class NdkarrayActivity {
	static public native int getDoubleNumber(int num);

	static public native byte[] getArrayDoubleNumber(byte[] nums);

	static public native int Rc522Init();

	static public native int ChangeType(int type);

	static public native byte[] RequestA(int code);

	static public native byte[] SelectA(byte[] uid);

	static public native int R522Close();

	static public native int AuthenticationA(int auth_mode, byte[] key, byte[] uid, int block);

	static public native byte[] ReadA(int block);

	static public native int WriteA(int block, byte[] wbuf);

	static public native int simulatekey(byte[] nums);
	
	static public native int simulatekeyWithValue(int num, int action);

	static {
		System.loadLibrary("rfidtestnew");
	}
}
